<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
	<title>{% block title %}{% endblock %}</title>
	{% include "meta.html" %}
	<link rel="stylesheet" href="stylesheets/style.css" type="text/css" />
	{% block stylesheet %}{% endblock %}
	<script type="text/javascript" src="scripts/script.js">
	</script>
	{% block script %}{% endblock %}
</head>

<body>
	{% if greeting %}
		<div id="user">{{ greeting }}</div>
	{% endif %}
	
	
	<!-- <div id="header">Book-MN<div class="header">Номын худалдаа</div></div> -->
	<div>
		<center>
			<table>
				<tbody>
					<tr>
						<td>
							<a href="/">
								<img height="65" width="65" border="0" src="images/book.png" />
							</a>
						</td>
						<td>
							<form>
								<table>
									<tbody>
										<tr>
											<td>
												<input type="text" size="40" maxlength="256" style="text-align:left;" />
												<input type="submit" value="Ном хайх" />
											</td>
											<td>
												<font size="-2">
													<div>
														<a href="">Дэлгэрэнгүй номын хайлт</a>
													</div>
													<div>
														<a href="">Тусламж</a>
													</div>
												</font>
											</td>
										</tr>
									</tbody>
								</table>
							</form>
						</td>
					</tr>
				</tbody>
			</table>
		</center>
	</div>
	
	<div id="menu">
		<div class="menu"><a href="/">Нүүр хуудас</a></div>
		<div class="menu"><a href="/library">Миний номын сан</a></div>
		<div class="menu"><a href="#">Топ номууд</a></div>
		<div class="menu"><a href="/bookcategory">Номын төрлүүд</a></div>
		<div class="menu"><a href="#">Бидний тухай</a></div>
	</div>
	
	<div id="body">
		<div class="content">{% block content %}{% endblock %}</div>
		
		<div id="sidebar">{% block sidebar %}{% endblock %}</div>
		<div id="adminSlidebar">{% block adminSlidebar %}{% endblock %}</div>
		
		<div class="footer"></div>
	</div>
	
	<div id="footer">
		<p>&copy; Copyright 2006 Your Company Name. All Rights Reserved.
		<br />Website by <a href="http://www.mlpdesign.tk">MLP Design</a>.<a href="http://validator.w3.org/check?uri=referer"> XHTML 1.0 Strict</a>
		 &amp; <a href="http://jigsaw.w3.org/css-validator/check/referer ">CSS Valid</a>.</p>
	</div>
	
</body>

</html>